<template lang="">
  <div :id="aaa" :title="bbb">
    这是div
  </div>
  <button @click="alertStr">button</button>
</template>
<script>
export default {
  data() {
    return {
      aaa:'123123123',
      bbb:'66666'
    }
  },
  methods:{
    alertStr(){
      alert(123123123)
      this.aaa = 'hahaha'
    }
  }
}
</script>
<style lang="">
  
</style>
